Integrand size = 24, antiderivative size = 131 \[ \int \frac {x}{\left (c+a^2 c x^2\right )^{5/2} \sqrt {\arctan (a x)}} \, dx=\frac {\sqrt {\frac {\pi }{2}} \sqrt {1+a^2 x^2} \operatorname {FresnelS}\left (\sqrt {\frac {2}{\pi }} \sqrt {\arctan (a x)}\right )}{2 a^2 c^2 \sqrt {c+a^2 c x^2}}+\frac {\sqrt {\frac {\pi }{6}} \sqrt {1+a^2 x^2} \operatorname {FresnelS}\left (\sqrt {\frac {6}{\pi }} \sqrt {\arctan (a x)}\right )}{2 a^2 c^2 \sqrt {c+a^2 c x^2}} \]
[Out]
Time = 0.16 (sec) , antiderivative size = 131, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.208, Rules used = {5091, 5090, 4491, 3386, 3432} \[ \int \frac {x}{\left (c+a^2 c x^2\right )^{5/2} \sqrt {\arctan (a x)}} \, dx=\frac {\sqrt {\frac {\pi }{2}} \sqrt {a^2 x^2+1} \operatorname {FresnelS}\left (\sqrt {\frac {2}{\pi }} \sqrt {\arctan (a x)}\right )}{2 a^2 c^2 \sqrt {a^2 c x^2+c}}+\frac {\sqrt {\frac {\pi }{6}} \sqrt {a^2 x^2+1} \operatorname {FresnelS}\left (\sqrt {\frac {6}{\pi }} \sqrt {\arctan (a x)}\right )}{2 a^2 c^2 \sqrt {a^2 c x^2+c}} \]
[In]
[Out]
Rule 3386
Rule 3432
Rule 4491
Rule 5090
Rule 5091
Rubi steps \begin{align*} \text {integral}& = \frac {\sqrt {1+a^2 x^2} \int \frac {x}{\left (1+a^2 x^2\right )^{5/2} \sqrt {\arctan (a x)}} \, dx}{c^2 \sqrt {c+a^2 c x^2}} \\ & = \frac {\sqrt {1+a^2 x^2} \text {Subst}\left (\int \frac {\cos ^2(x) \sin (x)}{\sqrt {x}} \, dx,x,\arctan (a x)\right )}{a^2 c^2 \sqrt {c+a^2 c x^2}} \\ & = \frac {\sqrt {1+a^2 x^2} \text {Subst}\left (\int \left (\frac {\sin (x)}{4 \sqrt {x}}+\frac {\sin (3 x)}{4 \sqrt {x}}\right ) \, dx,x,\arctan (a x)\right )}{a^2 c^2 \sqrt {c+a^2 c x^2}} \\ & = \frac {\sqrt {1+a^2 x^2} \text {Subst}\left (\int \frac {\sin (x)}{\sqrt {x}} \, dx,x,\arctan (a x)\right )}{4 a^2 c^2 \sqrt {c+a^2 c x^2}}+\frac {\sqrt {1+a^2 x^2} \text {Subst}\left (\int \frac {\sin (3 x)}{\sqrt {x}} \, dx,x,\arctan (a x)\right )}{4 a^2 c^2 \sqrt {c+a^2 c x^2}} \\ & = \frac {\sqrt {1+a^2 x^2} \text {Subst}\left (\int \sin \left (x^2\right ) \, dx,x,\sqrt {\arctan (a x)}\right )}{2 a^2 c^2 \sqrt {c+a^2 c x^2}}+\frac {\sqrt {1+a^2 x^2} \text {Subst}\left (\int \sin \left (3 x^2\right ) \, dx,x,\sqrt {\arctan (a x)}\right )}{2 a^2 c^2 \sqrt {c+a^2 c x^2}} \\ & = \frac {\sqrt {\frac {\pi }{2}} \sqrt {1+a^2 x^2} \operatorname {FresnelS}\left (\sqrt {\frac {2}{\pi }} \sqrt {\arctan (a x)}\right )}{2 a^2 c^2 \sqrt {c+a^2 c x^2}}+\frac {\sqrt {\frac {\pi }{6}} \sqrt {1+a^2 x^2} \operatorname {FresnelS}\left (\sqrt {\frac {6}{\pi }} \sqrt {\arctan (a x)}\right )}{2 a^2 c^2 \sqrt {c+a^2 c x^2}} \\ \end{align*}
Result contains complex when optimal does not.
Time = 0.21 (sec) , antiderivative size = 156, normalized size of antiderivative = 1.19 \[ \int \frac {x}{\left (c+a^2 c x^2\right )^{5/2} \sqrt {\arctan (a x)}} \, dx=-\frac {\left (1+a^2 x^2\right )^{3/2} \left (3 \sqrt {-i \arctan (a x)} \Gamma \left (\frac {1}{2},-i \arctan (a x)\right )+3 \sqrt {i \arctan (a x)} \Gamma \left (\frac {1}{2},i \arctan (a x)\right )+\sqrt {3} \left (\sqrt {-i \arctan (a x)} \Gamma \left (\frac {1}{2},-3 i \arctan (a x)\right )+\sqrt {i \arctan (a x)} \Gamma \left (\frac {1}{2},3 i \arctan (a x)\right )\right )\right )}{24 a^2 c \left (c \left (1+a^2 x^2\right )\right )^{3/2} \sqrt {\arctan (a x)}} \]
[In]
[Out]
\[\int \frac {x}{\left (a^{2} c \,x^{2}+c \right )^{\frac {5}{2}} \sqrt {\arctan \left (a x \right )}}d x\]
[In]
[Out]
Exception generated. \[ \int \frac {x}{\left (c+a^2 c x^2\right )^{5/2} \sqrt {\arctan (a x)}} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
\[ \int \frac {x}{\left (c+a^2 c x^2\right )^{5/2} \sqrt {\arctan (a x)}} \, dx=\int \frac {x}{\left (c \left (a^{2} x^{2} + 1\right )\right )^{\frac {5}{2}} \sqrt {\operatorname {atan}{\left (a x \right )}}}\, dx \]
[In]
[Out]
Exception generated. \[ \int \frac {x}{\left (c+a^2 c x^2\right )^{5/2} \sqrt {\arctan (a x)}} \, dx=\text {Exception raised: RuntimeError} \]
[In]
[Out]
Exception generated. \[ \int \frac {x}{\left (c+a^2 c x^2\right )^{5/2} \sqrt {\arctan (a x)}} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
Timed out. \[ \int \frac {x}{\left (c+a^2 c x^2\right )^{5/2} \sqrt {\arctan (a x)}} \, dx=\int \frac {x}{\sqrt {\mathrm {atan}\left (a\,x\right )}\,{\left (c\,a^2\,x^2+c\right )}^{5/2}} \,d x \]
[In]
[Out]